Why Is Java's Replaceall Not Returning The Expected Result With Regex